
import {createRouter,createWebHashHistory } from "vue-router";
import YiBiaoPan from '@/components/YiBiaoPan.vue'
import JiaoShi from '@/components/JiaoShi.vue'
import XueSheng from '@/components/XueSheng.vue'
import GongGao from '@/components/GongGao.vue'
import XiTong from '@/components/XiTong.vue'
import PanDuan from '@/components/PanDuan.vue'
import WenTi from '@/components/WenTi.vue'
import ZengJia from '@/components/ZengJia.vue'
import DaoRu from '@/components/DaoRu.vue'
import BiSai from '@/components/BiSai.vue'
import ChuangJian from '@/components/ChuangJian.vue'
import KeCheng from '@/components/KeCheng.vue'
import ChuangJian1 from '@/components/ChuangJian1.vue'
import SubHomePage from '@/components/SubHomePage.vue'
import QianTaoKeCheng from '@/components/QianTaoKeCheng.vue'
const router=createRouter({
    history:createWebHashHistory(),
    routes:[
        {
            path:'/yibiaopan',
            component:YiBiaoPan
        },
        {
            path:'/jiaoshi',
            component:JiaoShi
        },
        {
            path:'/xuesheng',
            component:XueSheng
        },
        {
            path:'/gonggao',
            component:GongGao
        },
        {
            path:'/xitong',
            component:XiTong
        },
        {
            path:'/panduan',
            component:PanDuan
        },
        {
            path:'/wenti',
            component:WenTi
        },
        {
            path:'/zengjia',
            component:ZengJia
        },
        {
            path:'/daoru',
            component:DaoRu
        },
        {
            path:'/bisai',
            component:BiSai
        },
        {
            path:'/chuangjian',
            component:ChuangJian
        },
        {
            path:'/kecheng',
            component:KeCheng,
            children:[
                {
                    path:'qtkc/:id',
                    component:QianTaoKeCheng
                }
            ],
        },
        {
            path:'chuangjian1',
            component:ChuangJian1
        },
        {
            name:'dongtaichuanzhi',
            path:'subhomepage/:id',
            component:SubHomePage
        }
        

    ]
})

export default router